package com.tedu.comment.mapper;

import com.tedu.comment.pojo.dto.CommentQuery;
import com.tedu.comment.pojo.entity.Comment;
import com.tedu.comment.pojo.vo.CommentVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentMapper {
    void insert(Comment comment);
    void update(Comment comment);
     List<CommentVO> loadComment(CommentQuery commentQuery);
     Integer loadCommentCount(CommentQuery commentQuery);
}
